'use strict'

app = angular.module 'app'

app.controller 'action1Ctrl', ($scope, Shared) ->
  sc = $scope
  sc.data = {}
  sc.submit = () ->
    if sc.aform.$invalid
      sc.aform.$setDirty()
      return no


